package appapi.Vo;

import appapi.Vo.device.EquipMainItemVo;
import appapi.entity.basic.EquipmaintenanitemEntity;
import appapi.entity.basic.MaintenanItemEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import org.springframework.beans.BeanUtils;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/27 14:46
 */
@ApiModel
@Data
@NoArgsConstructor
public class AddEquipMainItemVo{
    @ApiModelProperty(value = "设备ID", required = true)
    @NotNull(message = "设备ID不能为空")
    private Long equipId;
    @ApiModelProperty(value = "设备维保项目列表", required = true)
    private List<EquipMainItemVo> itemVoList;
}
